package com.tsd.core.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName: TaskJob
 * @Description: 标识定时任务，用于提取项目中的定时任务以便设置
 * @Author: Hillpool
 * @Date: 2022/4/15 16:35
 * @Version: 1.0
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface TaskJob {

    String name() default "";

    String mode() default "tsd";
}
